package com.jrzh.mvc.service.sys;

import java.io.InputStream;
import java.util.List;

import com.jrzh.common.exception.ProjectException;
import com.jrzh.framework.base.service.BaseServiceI;
import com.jrzh.mvc.model.sys.ConfigModel;
import com.jrzh.mvc.search.sys.ConfigSearch;
import com.jrzh.mvc.view.sys.ConfigView;

public interface ConfigServiceI extends BaseServiceI<ConfigModel, ConfigSearch, ConfigView>{
	void initCache() throws ProjectException;
	
	String getValue(String key) throws ProjectException;
	
	void refreshCache(String key, String value) throws ProjectException;
	
	void saveInit(String project, InputStream in) throws ProjectException;
	
	List<ConfigView> treegrid() throws ProjectException;
}
